package cn.huiyunche.base.service.form;

import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @FileName: cn.huiyunche.app.service.form
 * @Description: 同城配送费用查询参数
 * @author: Aaron
 * @date: 2016/11/16 下午1:28
 */
public class IntracityFeeForm {

    //板车类型id
//    @NotNull(message = "请选择板车")
    private Integer trailerId;

    //出发地址id
    @NotNull(message = "请选择发车地址")
    private Long depaId;

    //目的地址id
    @NotNull(message = "请选择交车地址")
    private Long destId;

    //车辆数
//    @NotNull(message = "请选择车型")
    private Integer vehicleNum;

    //提车日期
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
    private Date deliveryDate;

    //提车时间
//    @NotBlank(message="请选择提车时间！")
    private String deliveryTime;

    public Integer getTrailerId() {
        return trailerId;
    }

    public void setTrailerId(Integer trailerId) {
        this.trailerId = trailerId;
    }

    public Long getDepaId() {
        return depaId;
    }

    public void setDepaId(Long depaId) {
        this.depaId = depaId;
    }

    public Long getDestId() {
        return destId;
    }

    public void setDestId(Long destId) {
        this.destId = destId;
    }

    public Integer getVehicleNum() {
        return vehicleNum;
    }

    public void setVehicleNum(Integer vehicleNum) {
        this.vehicleNum = vehicleNum;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }
}
